package com.stlm2.dems.dao.impl;

import org.springframework.stereotype.Repository;

import com.stlm2.dems.entity.Comments;
import com.stlm2.dems.dao.CommentsDao;
import com.stlm2.core.base.impl.BaseDaoImpl;

@Repository("commentsDao")
public class CommentsDaoImpl extends BaseDaoImpl<Comments> implements CommentsDao {
    @Override
    public Integer getCount(Comments comments) {
        return  (Integer) _selectOne("getCount",comments);
    }
}